#ifndef BEFORECONNORIDISPATCHER_H
#define BEFORECONNORIDISPATCHER_H

#include "SubstitutionDispatcherBase.h"

class BeforeConnOriDispatcher:public SubstitutionDispatcherBase
{
public:
	BeforeConnOriDispatcher():SubstitutionDispatcherBase(){}

	~BeforeConnOriDispatcher(){}

protected:
	virtual ExecuteResultCode PreExecute(ClientContext&,OVERLAPPED*,DWORD*);

	virtual ITransHandler* HitFailedHandler();

	virtual ITransHandler* HittedHandler(const std::string &hittedUrl,DWORD transCount);
};

#endif